package com.shenmazg6.service;

import com.shenmazg6.pojo.TbOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenmazg6.utils.ResultResponse;
import com.shenmazg6.vo.BuyOrderVo;
import com.shenmazg6.vo.OrderNoInfoVo;
import com.shenmazg6.vo.PageInfoVo;
import com.shenmazg6.vo.WxPayOrderVo;

/**
* @author Think
* @description 针对表【tb_order(订单表)】的数据库操作Service
* @createDate 2022-12-20 10:55:19
*/
public interface TbOrderService extends IService<TbOrder> {

    ResultResponse buyOrder(BuyOrderVo buyOrderVo);

    boolean cancelOrder(TbOrder tbOrder);

    ResultResponse listByPage(PageInfoVo pageInfoVo);

    ResultResponse getOrderNo();

    ResultResponse getPayCode(WxPayOrderVo wxPayOrderVo);

    ResultResponse getOderState(OrderNoInfoVo orderNoInfoVo);

    ResultResponse changeOrderState(OrderNoInfoVo orderNoInfoVo);

    ResultResponse getAlipayCode(WxPayOrderVo wxPayOrderVo);
}
